import os, shutil

# 打包安装程序
os.system('pyinstaller --uac-admin -F -w -i ./logo64x.ico ./setup.py')

shutil.copytree('../com.ateng.wanxiaohe', './dist/support/com.ateng.wanxiaohe')
shutil.copy('./logo64x.ico', './dist/support')
shutil.copy('./logo.png', './dist/support')
shutil.copy('./duihao.png', './dist/support')
shutil.copy('./SourceHanMonoSC-Bold.otf', './dist/support')
shutil.move('./dist', './wxhsetup')